package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 拖吊报警
 */
@Data
@Accessors(chain = true)
public class ObdAlarmTow extends Model<ObdAlarmTow> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("车辆ID")
	private String vehicleId;
	
	@ApiModelProperty("驾驶员ID")
	private String driverId;
	
	@ApiModelProperty("报警时间")
	private Date startTime;
	
	@ApiModelProperty("X轴")
	private BigDecimal startXaxis;
	
	@ApiModelProperty("Y轴")
	private BigDecimal startYaxis;
	
	@ApiModelProperty("Z轴")
	private BigDecimal startZaxis;
	
	@ApiModelProperty("开始经度")
	private BigDecimal startLongitude;
	
	@ApiModelProperty("开始纬度")
	private BigDecimal startLatitude;
	
	@ApiModelProperty("开始GPS方向")
	private BigDecimal startGpsDirection;
	
	@ApiModelProperty("开始GPS速度")
	private BigDecimal startGpsSpeed;
	
	@ApiModelProperty("开始地址")
	private String startAddress;
	
	@ApiModelProperty("开始基站码")
	private String startBaseCode;
	
	@ApiModelProperty("开始基站供应商")
	private String startBaseSupplier;
	
	@ApiModelProperty("结束时间")
	private Date endTime;
	
	@ApiModelProperty("X轴")
	private BigDecimal endXaxis;
	
	@ApiModelProperty("Y轴")
	private BigDecimal endYaxis;
	
	@ApiModelProperty("Z轴")
	private BigDecimal endZaxis;
	
	@ApiModelProperty("结束经度")
	private BigDecimal endLongitude;
	
	@ApiModelProperty("结束纬度")
	private BigDecimal endLatitude;
	
	@ApiModelProperty("结束GPS方向")
	private BigDecimal endGpsDirection;
	
	@ApiModelProperty("结束GPS速度")
	private BigDecimal endGpsSpeed;
	
	@ApiModelProperty("结束地址")
	private String endAddress;
	
	@ApiModelProperty("结束基站码")
	private String endBaseCode;
	
	@ApiModelProperty("结束基站供应商")
	private String endBaseSupplier;
	
	@ApiModelProperty("报警状态（1、开始，2、结束）")
	private Integer alarmStatus;
	
	@ApiModelProperty("车牌号")
	private String plate;
	
	@ApiModelProperty("车辆所属")
	private Integer property;
	
	@ApiModelProperty("车辆所有人")
	private String owner;
	
	@ApiModelProperty("车辆使用性质")
	private Integer useNature;
	
	@ApiModelProperty("车辆服役状态")
	private Integer serviceStatus;
	
	@ApiModelProperty("车辆所属部门")
	private String deptId;
	
	@ApiModelProperty("车辆租赁公司编号")
	private String companyNo;
	
	@ApiModelProperty("车辆油费承担类型")
	private Integer oilCostType;
	
	private Date createTime;
	
	@ApiModelProperty("更新时间")
	private Date updateTimer;
	
	private String creater;
	
	private String updater;
	
	private Integer status;
	
}